<template>
    <div class="header-box">
        <div class="content">
            <div class="first-line">
                <span>Please Select Your Device Type</span>
            </div>
            <div class="second-line">
                <span>Affect the test modules</span>
            </div>
            <div class="third-line">
                <button class="button" @click="clickFuc(0)">Android</button>
                <button class="button" @click="clickFuc(1)">Linux</button>
            </div>
        </div>

        
    </div>
</template>

<script>
export default {
    methods: {
        clickFuc(index) {
            this.$emit('clickFuc',index)
        }
    }
  }
</script>

<style scoped>
.header-box {
    height: 100%;
    width: 100%;
    /* 弹性布局 */
    display: flex;
    /* 水平布局 */
    flex-direction: column;
    /* 居中布局 */
    justify-content: center;
    
}
.header-box .content{
    height: 80%;
}

.header-box .content .first-line {
    padding: 50px;
    font-size: 50px;
}

.header-box .content .second-line {
    padding: 30px;
    font-size: 30px;
}

.header-box .content .third-line {
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly
}

.header-box .content .third-line .button{
    height: 60px;
    width: 200px;
}
</style>
